// Package auction
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package auction

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询竞拍活动列表
type ListReq struct {
	g.Meta `path:"/auction/list" method:"get" tags:"竞拍活动" summary:"获取竞拍活动列表"`
	sysin.AuctionListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.AuctionListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出竞拍活动列表
type ExportReq struct {
	g.Meta `path:"/auction/export" method:"get" tags:"竞拍活动" summary:"导出竞拍活动列表"`
	sysin.AuctionListInp
}

type ExportRes struct{}

// ViewReq 获取竞拍活动指定信息
type ViewReq struct {
	g.Meta `path:"/auction/view" method:"get" tags:"竞拍活动" summary:"获取竞拍活动指定信息"`
	sysin.AuctionViewInp
}

type ViewRes struct {
	*sysin.AuctionViewModel
}

// EditReq 修改/新增竞拍活动
type EditReq struct {
	g.Meta `path:"/auction/edit" method:"post" tags:"竞拍活动" summary:"修改/新增竞拍活动"`
	sysin.AuctionEditInp
}

type EditRes struct{}

// DeleteReq 删除竞拍活动
type DeleteReq struct {
	g.Meta `path:"/auction/delete" method:"post" tags:"竞拍活动" summary:"删除竞拍活动"`
	sysin.AuctionDeleteInp
}

type DeleteRes struct{}

// StatusReq 更新竞拍活动状态
type StatusReq struct {
	g.Meta `path:"/auction/status" method:"post" tags:"竞拍活动" summary:"更新竞拍活动状态"`
	sysin.AuctionStatusInp
}

type StatusRes struct{}

// SwitchReq 更新竞拍活动开关状态
type SwitchReq struct {
	g.Meta `path:"/auction/switch" method:"post" tags:"竞拍活动" summary:"更新竞拍活动状态"`
	sysin.AuctionSwitchInp
}

type SwitchRes struct{}